package com.ruoyi.manage.mapper;

import java.util.List;
import com.ruoyi.manage.domain.DeviceManage;

/**
 * 器械信息Mapper接口
 * 
 * @author liuyangyang
 * @date 2025-06-04
 */
public interface DeviceManageMapper 
{
    /**
     * 查询器械信息
     * 
     * @param deviceId 器械信息主键
     * @return 器械信息
     */
    public DeviceManage selectDeviceManageByDeviceId(Long deviceId);

    /**
     * 查询器械信息列表
     * 
     * @param deviceManage 器械信息
     * @return 器械信息集合
     */
    public List<DeviceManage> selectDeviceManageList(DeviceManage deviceManage);

    /**
     * 新增器械信息
     * 
     * @param deviceManage 器械信息
     * @return 结果
     */
    public int insertDeviceManage(DeviceManage deviceManage);

    /**
     * 修改器械信息
     * 
     * @param deviceManage 器械信息
     * @return 结果
     */
    public int updateDeviceManage(DeviceManage deviceManage);

    /**
     * 删除器械信息
     * 
     * @param deviceId 器械信息主键
     * @return 结果
     */
    public int deleteDeviceManageByDeviceId(Long deviceId);

    /**
     * 批量删除器械信息
     * 
     * @param deviceIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDeviceManageByDeviceIds(Long[] deviceIds);
}
